package com.lovo.cloud.redis;

import redis.clients.jedis.Jedis;

/**
 * @author luo
 * @description
 * @date 2020/12/7 20:50
 */
public class RedisDAO {

    public  static Jedis getRedis(){
        Jedis jedis=new Jedis("127.0.0.1",8001);
        jedis.auth("123456");
        return jedis;
    }

}
